package pojo;

import java.util.Date;

/**
 * 会员实体类
 * @author Jamin
 */
public class User {
    /**
     * 会员头像
     */
    private String uIcon;
    /**
     * 会员id
     */
    private int uID;
    /**
     * 会员账号
     */
    private String uAccount;
    /**
     * 会员密码
     */
    private String uPassword;
    /**
     * 会员昵称
     */
    private String uNickName;
    /**
     * 会员性别
     */
    private int uGender;
    /**
     * 会员手机号
     */
    private String uPhoneNumber;
    /**
     * 会员邮箱
     */
    private String uEmail;
    /**
     * 会员住址
     */
    private String uAddress;
    /**
     * 会员积分
     */
    private int uIntegral;
    /**
    *注册时间
    */
    private Date uRegdate;

    public User(String uIcon, int uID, String uAccount, String uPassword, String uNickName, int uGender, String uPhoneNumber, String uEmail, String uAddress, int uIntegral, Date uRegdate) {
        this.uIcon = uIcon;
        this.uID = uID;
        this.uAccount = uAccount;
        this.uPassword = uPassword;
        this.uNickName = uNickName;
        this.uGender = uGender;
        this.uPhoneNumber = uPhoneNumber;
        this.uEmail = uEmail;
        this.uAddress = uAddress;
        this.uIntegral = uIntegral;
        this.uRegdate = uRegdate;
    }

    @Override
    public String toString() {
        return "User{" +
                "uIcon='" + uIcon + '\'' +
                ", uID=" + uID +
                ", uAccount='" + uAccount + '\'' +
                ", uPassword='" + uPassword + '\'' +
                ", uNickName='" + uNickName + '\'' +
                ", uGender=" + uGender +
                ", uPhoneNumber=" + uPhoneNumber +
                ", uEmail='" + uEmail + '\'' +
                ", uAddress='" + uAddress + '\'' +
                ", uIntegral=" + uIntegral +
                ", uRegdate=" + uRegdate +
                '}';
    }

    public String getuIcon() {
        return uIcon;
    }

    public void setuIcon(String uIcon) {
        this.uIcon = uIcon;
    }

    public int getuID() {
        return uID;
    }

    public void setuID(int uID) {
        this.uID = uID;
    }

    public String getuAccount() {
        return uAccount;
    }

    public void setuAccount(String uAccount) {
        this.uAccount = uAccount;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuNickName() {
        return uNickName;
    }

    public void setuNickName(String uNickName) {
        this.uNickName = uNickName;
    }

    public int getuGender() {
        return uGender;
    }

    public void setuGender(int uGender) {
        this.uGender = uGender;
    }

    public String getuPhoneNumber() {
        return uPhoneNumber;
    }

    public void setuPhoneNumber(String uPhoneNumber) {
        this.uPhoneNumber = uPhoneNumber;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public String getuAddress() {
        return uAddress;
    }

    public void setuAddress(String uAddress) {
        this.uAddress = uAddress;
    }

    public int getuIntegral() {
        return uIntegral;
    }

    public void setuIntegral(int uIntegral) {
        this.uIntegral = uIntegral;
    }

    public Date getuRegdate() {
        return uRegdate;
    }

    public void setuRegdate(Date uRegdate) {
        this.uRegdate = uRegdate;
    }

    public User() {
    }
}
